<!doctype html>
{% extends "base.html" %}
{% block title %}域名列表{% endblock title %}

{% block page6_show %}show{% endblock page6_show %}
{% block page6.1_active %}active{% endblock page6.1_active %}

{% load Domain_filter %}

{% block main_content %}

<div class="row">
    <div class="col-12">
        <div class="card">
            <div class="card-header">
                <h5 class="card-title">域名列表</h5>
                <h6 style="color: indianred;"> {{ domainerror }} </h6>
                <h6 class="card-subtitle text-muted">从域名管理商获取已有的域名</h6>
            </div>
            <table class="table table-striped table-hover table-bordered">
                <thead>
                    <tr style="text-align: center;">
                        <th>实例编号</th>
                        <th>域名</th>
                        <th>类型</th>
                        <th>状态</th>
                        <th>实名制</th>
                        <th>是否过期</th>
                        <th>注册时间</th>
                        <th>过期时间</th>
                        <th>备注</th>
                    </tr>
                </thead>
                <tbody  style="text-align: center;">
                    {% for domain in domains %}
                    <tr>
                        <td style="width: 5%;">{{ domain.InstanceId }}</td>
                        <td style="width: 5%;">{{ domain.DomainName }}</td>
                        <td style="width: 8%;">{{ domain.DomainType }}</td>
                        <td style="width: 5%;">{{ domain.DomainStatus | DomainStatus }}</td>
                        <td style="width: 6%;">{{ domain.DomainAuditStatus | DomainAuditStatus }}</td>
                        <td style="width: 6%;">{{ domain.ExpirationDateStatus | ExpirationDateStatus }}</td>
                        <td style="width: 12%;">{{ domain.RegistrationDate }}</td>
                        <td style="width: 12%;">{{ domain.ExpirationDate }}</td>
                        <td>{{ domain.Remark }}</td>
                    </tr>
                    {% endfor %}
                </tbody>
            </table>
        </div>
    </div>
</div>
{% endblock main_content %}

{% block script %}
{% endblock script %}